<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta name="Generator" content="Trainercity v1.0" />
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<meta name="Keywords" content="<?php echo $this->_var['keywords']; ?>" />
<meta name="Description" content="<?php echo $this->_var['description']; ?>" />
<title><?php echo $this->_var['page_title']; ?></title>
<link href="<?php echo $this->_var['ecs_css_path']; ?>" rel="stylesheet" type="text/css" />

<?php echo $this->smarty_insert_scripts(array('files'=>'common.js,user.js')); ?>
<script type="text/javascript">


  var _gaq = _gaq || [];
  _gaq.push(['_setAccount', 'UA-1848127-18']);
  _gaq.push(['_setDomainName', '.fitwow.com']);
  _gaq.push(['_trackPageview']);


  (function() {
    var ga = document.createElement('script'); ga.type = 'text/javascript'; ga.async = true;
    ga.src = ('https:' == document.location.protocol ? 'https://ssl' : 'http://www') + '.google-analytics.com/ga.js';
    var s = document.getElementsByTagName('script')[0]; s.parentNode.insertBefore(ga, s);
  })();


</script></head>
<body>
<?php if ($this->_var['info']['user_type'] == 1): ?>
 	    <?php echo $this->fetch('library/page_header.lbi'); ?>
        <div class="l_nav">
            <div class="l_nav_con">
                <ul>
                    <li><a href="user.php">My dashboard</a></li>
                    <li><a href="projects.php?act=my_clients_proposals">My client proposals</a></li>
                    <li><a href="user.php?act=profile" style="color: #FFFFFF; background-color: #CCCCCC" >Manage account</a></li>
                </ul>
            </div>
       </div>
       <div class="l_con mannge_acc">
       		<div class="right_posta" style="margin-top:20px;">
            	<ul >
                	<li><a href="projects.php?act=browse">Browse training projects</a></li>
                </ul>
      		</div>
            <div class="lcl_con2">
            <form name="formPassword" action="user.php" method="post" enctype = "multipart/form-data" >
            	<div class="lcl_con2_left">
                	<ul>
                   	  <li class="font03 lclaccount">Account management</li>
                        <li class="lcl_cin1 "><a href="user.php?act=profile" class="font91">Account info</a></li>
                      <li class="font03 lclaccount" >Profile management</li>
                        <li class="lcl_cin1 "><a href="user.php?act=aboutme" class="font91">About me</a></li>
                        <li class="lcl_sj"></li>
                        <li class="lcl_bim "><a href="user.php?act=photo" class="font90">Profile photos</a></li>
                        <li class="lcl_sj"></li>
                        <li class="lcl_cin2 font91" ><a href="user.php" class="font91">Profile completed,go<br />to my dashboard</a></li>
                    </ul>
                </div>
                <div class="lcl_con2_right" style="border:1px solid #ccc;">
                	<div class="experign">Upload  new photo</div>	
                    <div class="lcl_xinnav_con">
                    	<div class="lcl_xinnav_con01">				
						<?php if ($this->_var['profile']['photo']): ?>
						<img src="<?php echo $this->_var['profile']['photo']; ?>" width="130"/>
						<?php elseif ($this->_var['profile']['sex'] == 0): ?>
						<img src="themes/default/images/girls.gif" width="130"/>
						<?php else: ?>
						<img src="themes/default/images/boys.gif" width="130"/>
						<?php endif; ?>
						</div>
                        <div class="lcl_xinnav_con02">
                        	<div class="lcl_xinnav_con021">
							<input type = "hidden" name = "MAX_FILE_SIZE" value ="1000000"/>
							<input name="userfile" type="file" class="lcl_tet" />
							&nbsp;&nbsp;&nbsp;(&nbsp;jpg&nbsp;/jpeg&nbsp;/gif&nbsp;/png&nbsp;)
							</div>
                            <div class="lcl_xinnav_con022"></div>
                            <div class="lcl_xinnav_con023">
                            <input name="save" type="submit" class="lcl_bimdd lcl_font"  value="Upload"/>
							<input name="save" type="submit" class="lcl_bimqw lcl_font" value="Upload and Continue" style="background:url(themes/default/images/l_37.gif) no-repeat; width:188px; height:29px; line-height:29px; text-align:center; margin-left:10px;" />
							<a href="user.php?act=delete_photo"><input name="save" type="button" class="lcl_bimdd lcl_font" value="Delete" /></a>
							<input type="hidden" name="act" value="act_photo"/>  
							</div>
                      </div>
                    </div>
                </div>
              </form>
            </div>
       </div>
<div class="lcl_llin"></div>
       <?php echo $this->fetch('library/page_footer.lbi'); ?>	
<?php else: ?>
 	    <?php echo $this->fetch('library/page_header.lbi'); ?>
        <div class="l_nav">
            <div class="l_nav_con">
                <ul>
                    <li><a href="user.php">My dashboard</a></li>
                    <li><a href="projects.php?act=my_fitness_listings">My Fitness Listings</a></li>
                    <li><a href="user.php?act=profile" style="color: #FFFFFF; background-color: #CCCCCC" >Manage account</a></li>
                </ul>
            </div>
       </div>
       <div class="l_con">
       		<div class="right_posta" style="margin-top:20px;">
            	<ul >
					<li><a href="projects.php?act=add">Post your fitness needs</a></li>
                	<li><a href="projects.php?act=browse">Browse training projects</a></li>
                </ul>
      		</div>
            <div class="lcl_con2">
            <form name="formPassword" action="user.php" method="post" enctype = "multipart/form-data" >
            	<div class="lcl_con2_left">
                	<ul>
                   	  <li class="font03 lclaccount">Account management</li>
                        <li class="lcl_cin1 "><a href="user.php?act=profile" class="font91">Account info</a></li>
                      <li class="font03 lclaccount" >Profile management</li>
                        <li class="lcl_cin1 "><a href="user.php?act=aboutme" class="font91">About me</a></li>
                        <li class="lcl_sj"></li>
                        <li class="lcl_bim "><a href="user.php?act=photo" class="font90">Profile photos</a></li>
                        <li class="lcl_sj"></li>
                        <li class="lcl_cin2 font91" ><a href="user.php" class="font91">Profile completed,go<br />to my dashboard</a></li>
                    </ul>
                </div>
                <div class="lcl_con2_right" style="border:1px solid #ccc;">
                	<div class="lcl_xinnav font03">Upload a new photo</div>	
                    <div class="lcl_xinnav_con">
                    	<div class="lcl_xinnav_con01">
						<?php if ($this->_var['profile']['photo']): ?>
						<img src="<?php echo $this->_var['profile']['photo']; ?>" width="130"/>
						<?php elseif ($this->_var['profile']['sex'] == 0): ?>
						<img src="themes/default/images/girls.gif" width="130"/>
						<?php else: ?>
						<img src="themes/default/images/boys.gif" width="130"/>
						<?php endif; ?>
						</div>
                        <div class="lcl_xinnav_con02">
                        	<div class="lcl_xinnav_con021">
							<input type = "hidden" name = "MAX_FILE_SIZE" value ="1000000"/>
							<input name="userfile" type="file" />
							&nbsp;&nbsp;&nbsp;(&nbsp;jpg&nbsp;/jpeg&nbsp;/gif&nbsp;/png&nbsp;)
							</div>
                            <div class="lcl_xinnav_con022"></div>
                            <div class="lcl_xinnav_con023">
                            <input name="save" type="submit" class="lcl_bimdd lcl_font"  value="Save"/>
							<input name="save" type="submit" class="lcl_bimqw lcl_font" value="Save and Continue" style="background:url(themes/default/images/l_37.gif) no-repeat; width:188px; height:28px; line-height:28px; text-align:center; margin-left:10px;" />
							<a href="user.php?act=delete_photo"><input name="save" type="button" class="lcl_bimdd lcl_font" value="Delete" /></a>
							<input type="hidden" name="act" value="act_photo"/>  
							</div>
                      </div>
                    </div>
                </div>
              </form>
            </div>
       </div>
<div class="lcl_llin"></div>
<?php echo $this->fetch('library/page_footer.lbi'); ?>
<?php endif; ?>
</body>
<script type="text/javascript">
<?php $_from = $this->_var['lang']['clips_js']; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array'); }; $this->push_vars('key', 'item');if (count($_from)):
    foreach ($_from AS $this->_var['key'] => $this->_var['item']):
?>
var <?php echo $this->_var['key']; ?> = "<?php echo $this->_var['item']; ?>";
<?php endforeach; endif; unset($_from); ?><?php $this->pop_vars();; ?>
</script>
</html>
